home *** CD-ROM | disk | FTP | other *** search
/ Just Call Me Internet / Just Call Me Internet.iso / com / computer / casio_st / prog_fx / oisac2 / l_6320.txt < prev    next >
Text File  |  1994-03-01  |  576b  |  14 lines

  1. 10 MODE8:DIM:GOSUB500:c$=CHR$(5):k=0:x=0:DEFCHR$(254)="424C300806"
  2. 20 CLS:PRINT"Cumulative frequency  P(x,“)";
  3. 30 z=k:s$="“":GOSUB400:k=z:IFk<0 THEN30
  4. 40 z=x:s$="x":GOSUB400:x=z:IFx<0 ORFRACx<>0 THEN40
  5. 60 LOCATE0,1:PRINTc$;".....";
  6. 70 sr=0:GOSUB"LIB0:S6320":GOSUB500:IFsr THEN*
  7. 75 IFs THENs=ROUND(s,LOG(ABSs)-6)
  8. 80 PRINTc$;"p=";s;:z$=INPUT$(1,@):GOTO30
  9. 400 LOCATE0,1:PRINTc$;s$;"=";z;"?";:INPUT@10;z:LOCATE0,0:RETURN
  10. 500 ONERRORGOTO510:RETURN
  11. 510 IFERR=1 THENCLS:ONERRORGOTO0
  12. 520 IFERL=400 THENRESUME400
  13. 530 LOCATE0,1:PRINTc$;"not found";:z$=INPUT$(1,@):RESUME20
  14.